package com.gxs.ea.fileupload.beans.data.model;

import java.util.Collection;

import org.springframework.security.core.authority.SimpleGrantedAuthority;

import com.gxs.ea.fileportal.domain.BaseCompany;

public class User {

	private String id;
	private String username;
	private String password;
	private Collection<SimpleGrantedAuthority> authorities;
	private String companyCode;
	private BaseCompany company;

	public User()
	{}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Collection<SimpleGrantedAuthority> getAuthorities() {
		return authorities;
	}

	public void setAuthorities(Collection<SimpleGrantedAuthority> authorities) {
		this.authorities = authorities;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public BaseCompany getCompany() {
		return company;
	}

	public void setCompany(BaseCompany company) {
		this.company = company;
	}


}